import Vue from 'vue'

import Vuex from 'vuex'

Vue.use(Vuex)


const state = {
  count: 0
}

const getters = {

}

const mutations = {

}

const actions = {

}

import products from './modules/products'
import cart from './modules/cart'

const store = new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    products,
    cart
  }
})

export default store